package cn.usian.blockhandler;

import cn.usian.pojo.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class GlobalBlockHandler {
    /**
     * 必须使用static修饰
     */
    public static User blockHandlerMethod(Integer id,BlockException e){
        return new User(id,"熔断兜底的数据",55);
    }
}
